package user

// Repository 用户仓库接口
type Repository interface {
	Create(user *User) error
	Update(user *User) error
	Delete(id string) error
	FindByID(id string) (*User, error)
	FindByUsername(username string) (*User, error)
	FindAll() ([]*User, error)
}